#include "mystdio.h"
#include <string.h>
int main()
{
    MyFile *filep = MyFopen("log.txt", "w");
    if(!filep)
    {
        printf("fopen error");
        return 1;
    }
    char* msg =(char*) "Hello MyFile\n";
    MyFwrite(filep, msg, strlen(msg));

    MyFclose(filep);
    return 0;
}
